← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 14:31:06 2016
Reported on Fri Jan 8 14:33:29 2016

Filename(eval 271)[/usr/share/perl5/Sub/Quote.pm:5]
StatementsExecuted 0 statements in 0s
Eval Invoked At/usr/share/perl5/Sub/Quote.pm line 5
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
202018156µs1.02msDBIx::Class::ResultSourceProxy::::add_unique_constraintDBIx::Class::ResultSourceProxy::add_unique_constraint
11112µs26µsSub::Quote::::BEGIN@4.305 Sub::Quote::BEGIN@4.305
1117µs7µsDBIx::Class::ResultSourceProxy::::BEGIN@10.306DBIx::Class::ResultSourceProxy::BEGIN@10.306
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1{
2 my $_QUOTED = ${$_[1]->{"\$_QUOTED"}};
3 my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}};
4239µs
# spent 26µs (12+14) within Sub::Quote::BEGIN@4.305 which was called: # once (12µs+14µs) by Sub::Quote::_clean_eval at line 4
no warnings 'closure';
# spent 26µs making 1 call to Sub::Quote::BEGIN@4.305 # spent 14µs making 1 call to warnings::unimport
5
# spent 1.02ms (156µs+859µs) within DBIx::Class::ResultSourceProxy::add_unique_constraint which was called 20 times, avg 51µs/call: # once (8µs+420µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/AdditionalField.pm # once (16µs+42µs) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/Serialitem.pm # once (11µs+34µs) by Class::C3::Componentised::ensure_class_loaded at line 73 of Koha/Schema/Result/AqordersTransfer.pm # once (7µs+33µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Sub/Defer.pm # once (10µs+27µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/CourseReserve.pm # once (7µs+28µs) by Class::C3::Componentised::ensure_class_loaded at line 160 of Koha/Schema/Result/PrintersProfile.pm # once (7µs+27µs) by Class::C3::Componentised::ensure_class_loaded at line 80 of Koha/Schema/Result/MessageAttribute.pm # once (8µs+23µs) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/ItemsLastBorrower.pm # once (7µs+24µs) by Class::C3::Componentised::ensure_class_loaded at line 98 of Koha/Schema/Result/Localization.pm # once (8µs+20µs) by Class::C3::Componentised::ensure_class_loaded at line 88 of Koha/Schema/Result/Subscriptionroutinglist.pm # once (7µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 154 of Koha/Schema/Result/Overduerule.pm # once (7µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 89 of Koha/Schema/Result/AdditionalFieldValue.pm # once (10µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 180 of Koha/Schema/Result/Issue.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 132 of Koha/Schema/Result/CourseItem.pm # once (7µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 409 of Koha/Schema/Result/Item.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 597 of Koha/Schema/Result/Borrower.pm # once (7µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 84 of Koha/Schema/Result/CreatorImage.pm # once (7µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 79 of Koha/Schema/Result/OaiSet.pm # once (4µs+16µs) by Class::C3::Componentised::ensure_class_loaded at line 85 of Koha/Schema/Result/AqordersTransfer.pm # once (4µs+15µs) by Class::C3::Componentised::ensure_class_loaded at line 609 of Koha/Schema/Result/Borrower.pm
sub DBIx::Class::ResultSourceProxy::add_unique_constraint {
6 $_QUOTED if 0;
7 $_UNQUOTED if 0;
8# BEGIN quote_sub PRELUDE
9package DBIx::Class::ResultSourceProxy;
10
# spent 7µs within DBIx::Class::ResultSourceProxy::BEGIN@10.306 which was called: # once (7µs+0s) by Sub::Quote::_clean_eval at line 15
BEGIN {
11 $^H = "132834";
12 ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUU";
13 %^H = (
14 );
1517µs}
# spent 7µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@10.306
16# END quote_sub PRELUDE
17 DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS and DBIx::Class::_Util::fail_on_internal_call;
1838439µs shift->result_source_instance->add_unique_constraint (@_);
# spent 298µs making 19 calls to DBIx::Class::ResultSource::add_unique_constraint, avg 16µs/call # spent 18µs making 2 calls to Koha::Schema::Result::AqordersTransfer::result_source_instance, avg 9µs/call # spent 15µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance # spent 11µs making 2 calls to Koha::Schema::Result::Borrower::result_source_instance, avg 6µs/call # spent 9µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance # spent 9µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Item::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::Localization::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
19 }
20 $$_UNQUOTED = \&DBIx::Class::ResultSourceProxy::add_unique_constraint
21}
221;
23
24;